package com.crm.pojo.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.crm.pojo.vo.DeptVo;
import com.crm.pojo.vo.RoleVo;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

@Data
public class LoginUser {
    private String createBy;
    private LocalDateTime createTime;
    private String updateBy;
    private LocalDateTime updateTime;
    private Long userId;
    private String userName;
    private String nickName;
    private String password;
    private Long deptId;
    private String email;
    private String phonenumber;
    private String sex;
    private String avatar;
    private String salt;
    private String status;
    private String delFlag;
    private String loginIp;
    private LocalDateTime loginDate;
    private DeptVo dept;
    private List<RoleVo> roles;
    private List roleIds;
    private String remark;
    Boolean admin;
}
